//discount_detail_more_comment
//机构促销活动页评论加载更多
exports.discount_detail_more_comment = function (req, res) {
//问题内容页
    //获取restful参数
    var restfulParams = req.routeInfo.restfulParams;
    //最终结果
    var resultData = {};

    var limit = restfulParams.limit == undefined ? config.publicConfig.LIMIT : restfulParams.limit;

    var skip = restfulParams.skip == undefined ? 0 : restfulParams.skip;
    //任务流创建
    async.waterfall([
        //获取评论
        function(cb){

            R.SEND_HTTP(
                req,
                {
                    url: CORE_APIConfig.coreAPI.activity_comment_info + "/oac_oaid/" + restfulParams.oa_id + "/skip/" + skip + "/limit/" + limit,
                    method: 'GET'
                },
                function (err, data) {
                    //判断是否有错误信息
                    if (err) {
                        return cb(err, data);
                    }
                    resultData.commentMoreData  = data.data;

                    cb();

                }
            );
        },
    ], function (err, result) {

        //返回最终拼接结果
        RES.response(res, true, resultData);

    });

}